<?php
require_once("filehandle.php");
require_once("functions.php");
require_once("header.php");

$fxid = $_REQUEST['fxid'];
if (empty($fxid))
	$fxid = -1;

$f_handle = new filehandle();

echo '<a href="index.php" class="link1">Back</a><br><br>';

$url_data = $f_handle->read_data($fxid);

//echo count($url_data['LINKS']);
//debug($url_data);
echo  '<center>';
echo '<textarea class="input" name="xml_sitemap" cols="100" rows="20">'.xml_sitemap($url_data).'</textarea><br>';

echo '<br><a href="download.php?fxid='.$fxid.'&type=html" class="link1" target="_blank"><b>Cilck Here to download HTML sitemap for '.$url_data['BASE'].'</b></a><br><br>';

echo '<br><a href="download.php?fxid='.$fxid.'&type=xml" class="link1" target="_blank"><b>Cilck Here to download XML sitemap for '.$url_data['BASE'].'</b></a><br><br>';
echo  '</center>';

require_once("footer.php");
/*
Please wait. Sitemap generation in progress...

Links depth: 2 
Current page: links/Pay-Per-Click-Management.html 
Pages scanned: 60 (1,088.2 Kb) 
Pages left: 38 
Time passed: 0:26 
Time left: 0:16
*/
?>